package com.rupertjones.globalcron.domain.dao;

import com.rupertjones.globalcron.domain.BaseEntity;
import org.hibernate.event.PostDeleteEventListener;
import org.hibernate.event.PostInsertEventListener;
import org.hibernate.event.PostUpdateEventListener;

/**
 * <p>&copy Rupert Jones 2012</p>
 *
 * @author rup
 */
public interface PostPersistenceEventListener extends PostInsertEventListener, PostUpdateEventListener, PostDeleteEventListener {
    void setSessionContextProvider(SessionContextProvider provider);
    boolean supports(Class<? extends BaseEntity> clazz);
}
